package com.ruoyi.health.report.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.health.report.domain.DiagnosisData;
import com.ruoyi.health.report.domain.GlossoscopyVO;
import com.ruoyi.health.api.domain.HealthAnalysisResult;
import com.ruoyi.health.report.domain.HealthAnalysisVO;
import com.ruoyi.health.report.domain.HealthReport;
import com.ruoyi.health.report.domain.zkxc.ZkxcPushBaseEntity;

/**
 * 健康报告Service接口
 * 
 * @author luogongqun
 * @date 2024-09-16
 */
public interface IHealthReportService 
{
    /**
     * 查询健康报告
     * 
     * @param id 健康报告主键
     * @return 健康报告
     */
    public HealthReport selectHealthReportById(Long id);

    /**
     * 查询健康报告列表
     * 
     * @param healthReport 健康报告
     * @return 健康报告集合
     */
    public List<HealthReport> selectHealthReportList(HealthReport healthReport);

    /**
     * 新增健康报告
     * 
     * @param healthReport 健康报告
     * @return 结果
     */
    public int insertHealthReport(HealthReport healthReport);

    /**
     * 修改健康报告
     * 
     * @param healthReport 健康报告
     * @return 结果
     */
    public int updateHealthReport(HealthReport healthReport);

    /**
     * 批量删除健康报告
     * 
     * @param ids 需要删除的健康报告主键集合
     * @return 结果
     */
    public int deleteHealthReportByIds(Long[] ids);

    /**
     * 删除健康报告信息
     * 
     * @param id 健康报告主键
     * @return 结果
     */
    public int deleteHealthReportById(Long id);

    GlossoscopyVO glossoscopy(Map<String,String> map);

    HealthAnalysisResult getDetail(Long id);

    List<HealthReport> selectWxHealthReportList(HealthReport healthReport);

    HealthAnalysisVO getLastReportInfo(Long customerId);

    DiagnosisData getLastReportInfoByDate(String phone, String date,boolean watch);

    void getLastReportInfoByMock(String phone);

}
